Throughput in multi-rate wireless networks using variable-length packets and other techniques

ABSTRACT

In a wireless communication network having a plurality of devices operating at different data rates that contend for access to the network, an apparatus is provided that assigns network access parameters so as to control throughput on the network.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 11/880,204, filed Jul. 20, 2007 which in turn is a continuation of U.S. patent application Ser. No. 10/065,494, filed Oct. 24, 2002, now U.S. Pat. No. 7,248,604, which claims priority to U.S. Provisional Patent Application No. 60/330,755, filed Oct. 30, 2001, the entirety of which is incorporated herein by reference as if fully set forth.

FIELD OF INVENTION

The present invention is directed to wireless networks, and particularly to optimizing throughput among multiple data rate communication devices in a wireless network.

BACKGROUND

In a wireless network, such as a wireless local area network (WLAN) that uses the IEEE 802.11x standard, communication devices that act as what is called in 802.11 parlance, stations (STAs), may use multiple data rates (e.g., 1, 2, 5.5, 11, . . . 54 Mbps) when communicating with a communication device that acts as what is called in 802.11 parlance, an access point (AP). The data rate assigned to a STA may be based on its proximity to the AP. For example, devices closer to the AP typically operate at faster data rates than devices further from the AP. Each frequency channel of 802.11 may be shared, via carrier sense multiple access/collision avoidance (CSMA/CA) procedures, by multiple STAs using various data rates. Each STA contends for use of the frequency channel and, on acquiring use of the channel, transmits a single MAC Service Data Unit (MSDU). While a given STA is transmitting an MSDU, no other STA is allowed to transmit on the channel. Additionally, the STA owns the channel until it has completely transmitted the MSDU. After transmitting an MSDU, the STA must contend again for use of the channel before sending another MSDU.

Currently, the 802.11 standard places no restrictions nor does it provide a recommendation for a data packet length, other than limiting the maximum MSDU size to no more than 2304 bytes. The required transmission time for a data packet of a given length is proportionally larger for low data rate users than for high data rate users. Consequently, the low data rate users may have a disproportionately higher percentage of medium access time than high data rate users, which limits throughput for the high data rate users.

To illustrate this, with reference to FIG. 1, an example system 10 is shown having N STAs 120, where N=20. For example, there are ten 1 Mbps STAs and ten 54 Mbps STAs on a CSMA/CA WLAN. Each STA is attempting to upload a file to (or download a file from) a server via the WLAN AP 110. It is assumed each STA 120 uses a 2 KB MSDU size. To simplify the analysis, assume zero MAC overhead (i.e., MAC header, acknowledgements, DIFS, etc. take zero time). The following relations hold for this example.

Ts=Packet duration for “slow” users=2048*8/1=16,384 μs

Tf=Packet duration for “fast” users=2048*8/54=303 μs=Ts/54

Throughput per slow user: 1 Mbps*54/55/10≅100 kbps

Throughput per fast user: 54 Mbps*1/55/10≅100 kbps

Average throughput per user: 100 kbps

As this example shows, the slow users take much longer to transmit their packets than the fast users, effectively negating the benefit of the higher data rate for the fast users. More specifically, the slow users spend 54 times more time on the medium than fast users in this scenario (since it takes them 54 times longer to transmit or receive a 2 KB packet) assuming that all users contend for the medium using CSMA/CA procedures for the transmission of each packet. Slow users own the medium 54/55=98% of the time, whereas fast users own the medium 1/55=2% of the time. The results would be the same if a MSDU size of 500 bytes, for example, were used.

To generalize, assume there are Ns low data rate users and Nf high data rate users of a CSMA/CA WLAN. The following relations are given:

Ts=M*Tf=Packet duration for a slow users

Tf=Packet duration for fast users

M=ratio of highest data rate to lowest data rate for the users on the network (Rf/Rs)

Rf=Fastest user data rate

Rs=Slowest user data rate

Throughput for slow data rate user=Rs*Ts/(Ns*Ts+Nf*Tf)=Rs*M/ (Ns*M+Nf)≈Rs/Ns (since Ns*M usually>>Nf)

Throughput for fast data rate=Rf*Tf/(Ns*Ts+Nf*Tf)=Rf/(Ns*M+Nf)≈Rs/Ns (again, assuming Ns*M>>Nf).

Average throughput per user≈Rs/(Ns).

In summary, all STAs experience substantially the same throughput equal to the slowest user's data rate divided by the number of slow users. The high data rate users do not realize the benefit of their faster data rates because throughput is limited by the slowest user data rate.

In more extreme cases, the overall performance of a wireless network can collapse as additional users, particularly slow users, access the network. FIG. 2 illustrates a plot of access time of a user versus percent utilization of the network. Even at zero percent utilization, there is a minimum access time to for a user to obtain access to the network. As more users access the network, the access time increases, and at some point (approximately 50% utilization), the access time increases exponentially. FIG. 2 illustrates that throughput for all users on the network can become unacceptable as the network utilization increases, particularly with slow users, and at some the network may collapse completely. Network administrators struggle with techniques to prevent network collapse.

Solutions are needed to contend with the foregoing challenges in maintaining stability of a wireless network with multiple data rate users.

SUMMARY

Systems and methods, as described, improve system throughput of a wireless network by adjusting a network access parameter used by devices when accessing the network. One technique is to assign packet lengths to each user in such a way as to ensure that all users transmit packets of equal duration. The packet duration for all users is set based on a maximum packet size at the fastest user data rate in the network. Thus, under this methodology, fixed-duration transmissions (from the STA to the AP or from the AP to the STA) are enforced (which implies different packet lengths for different user data rates) instead of fixed-length packets (duration=time, length=bytes) for each user. In practice, the user-rate specific packet size, determined for each user based on the desired fixed-duration, is set as a maximum packet size for that user. However, the user does not always have to transmit at that maximum packet size. A packet size of less than the maximum packet size may be used, which will further benefit average throughput.

An enhancement to the fixed-duration/variable packet length technique is to dynamically change the packet lengths of the network users to adjust for changing conditions in the network. For example, the data rate of the fastest user may change as users go on and off the network. The AP may periodically determine changes in the fastest user data rate and send out messages to the users to adjust the maximum length if required.

Another technique to optimize throughput in the network is to fix the packet length but vary the contention window (CW) size for each user, so that low rate users will be less likely to win a channel contention than high rate users.

Still another method to improve throughput in the network is to conditionally engage or disengage one of the variable packet length or variable contention window algorithms described herein based on measured network conditions for the fast users. The AP monitors user throughput, offered network load, or other conditions for fast rate users, and when it is determined that throughput for fast users is being significantly affected, the AP engages one of the variable packet length methods summarized above in order to give the fast rate users better throughput.

The above and other objects and advantages will become more readily apparent when reference is made to the following description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example wireless communication system where throughput improvement techniques may be useful.

FIG. 2 is a plot showing access time versus percent utilization of a wireless network.

FIG. 3 is a block diagram of an access point device and a station device that may be configured to employ the throughput improvement techniques.

FIG. 4 is a flow chart of a network monitoring and access parameter adjustment process.

FIG. 5 is a plot of throughput versus offered load of a wireless network that illustrates the effects on throughput as the packet length is adjusted.

FIG. 6 is a ladder diagram illustrating a process for communicating and executing a change in the maximum packet length used by devices in a wireless network.

DETAILED DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an example system where a wireless local area network (WLAN) 100 consisting of an access point (AP) 110 and a plurality of stations (STAs) (STA₁-STA_(N)) 120. The AP 110 may interconnect to a wired LAN 130, and ultimately, through a router 140, to the Internet 150.

FIG. 3 illustrates an example AP 110 and a STA 120. In general, the AP 110 comprises a control processor 112, a baseband signal processor 114 and a radio transceiver 116. (It should be understood that the control processor 112 and the baseband signal processor 114 may be implemented on a single processing device.) The AP 110 receives signals from, and transmits signals to, the STAs 120 via one or more antennas 118. The processor 112 routes the received data from the STAs, and also directs outgoing data to the appropriate STA. In addition, the processor 112 in the AP 110 may execute a network throughput control process, described hereinafter, to control the average throughput on the WLAN 100. A network administration computer 160 may be coupled to the AP 110 (through the wired LAN 130 shown in FIG. 1) to provide supervisory and administrative control of the WLAN 100. Thus, the network throughput control process may be executed on the network administration computer 160 in addition to, or instead of, the AP 110. The AP 110 sends network access control parameter messages to one or more STAs 120. The network access control parameter message informs the STA 120 to alter a network access parameter, described hereinafter. The term base device is a more general term that refers to an access point, or in the context of a non-WLAN type of wireless network, another wireless device that may be fixed and may have additional computing power and supervisory control over the access to the network by other devices.

A STA 120 comprises a control processor 122, a baseband signal processor 124 and a radio transceiver 126. The STA 120 transmits and receives signals via the antenna 128. When the STA 120 receives a network access control parameter message from the AP 110, the processor 122 processes the message to alter a corresponding network access control parameter. A memory 129 in the STA 110 may be used to store the updated network access control parameter.

The Packet Length Network Access Control Parameter

One type of network access control parameter that can be adjusted is the maximum packet length that can be used by a communication device when accessing the network. The maximum packet length parameter determines how much network time it takes for a device to transmit a basic unit of data called the packet, dependent on the data rate of the device. One method to equalize the use of the network is to require all devices to transmit packets of a fixed time duration (as opposed to a fixed packet length), regardless of the data rate of the device. To do so, slower data rate devices would have shorter maximum packet lengths compared to higher data rate devices. As a result, fast data rate devices can use a packet length up to the maximum packet length available for the network and slow data rate devices will be limited to a smaller maximum packet length so that they do not occupy the network at the expense of the faster rate devices. The packet length Li for device (i) is Lmax/(Rf/Ri), where Rf is the rate of the fastest device, Ri is the rate of the given device (i) and Lmax is the maximum packet length for any device on the network. The throughput analysis using the fixed-duration methodology is as follows. (The terms “device” and “user” are used interchangeably.)

Throughput per slow user=Rs/(Ns+Nf)

Throughput per fast user=Rf/(Ns+Nf)

Average throughput per user=(Ns*Rs+Nf*Rf)/(Ns+Nf)²

The net throughput per user is equal to the peak throughput per user (i.e., throughput that each user would see if he/she were the only user on the channel) divided by the total number of users sharing the channel. This is exactly the throughput that each user would see if there were only one data rate supported on the channel (i.e., that user's data rate) and the same number of total users. Substantial improvement in average net throughput per user is achieved over the fixed-length approach for typical operating scenarios, and it is a more equitable way to distribute bandwidth among multiple users than the fixed-length approach.

Applying the fixed-duration packet technique to the example introduced above in conjunction with FIG. 1, the packet length for the fast (54 Mbps) users is set to the MSDU length of 2 KB to give the fast users the greatest benefit of their faster data rate. Thus, Lmax is 2 k bytes, or 2048 bytes, and the maximum packet length for the 1 Mbps user is 2048/(54/1), which is 38 bytes.

Using a variable packet length with the fixed-duration constraint, the throughput analysis for the example is:

Throughput per slow user=1 Mbps/20=50 kbps

Throughput per fast user=54 Mbps/20=2.7 Mbps

Average throughput per user=(10*1+10*54)/(10+10)²=1.375 Mbps

The use of fixed-duration transmissions (which means the packet size used by the STAs are of variable-length) in this way allows the high-rate STAs to enjoy the benefits of their higher data rate (approximately 14 times improvement in average throughput per user relative to fixed-length approach). Every user is given the same amount of time (303 μs) to access the medium for a data packet, which is a more equitable way to partition the bandwidth.

Generally, assuming there are M data rates in the system, R1<R2<. . . < RM, and Ni STAs/users at rate Ri, i=1, . . . , M. The maximum packet length for rate RM users is set to LM=Lmax, where Lmax is the maximum supported MSDU size in bytes (for example, Lmax=2304 bytes for 802.11). The maximum packet length for rate Ri users is set to Li=Lmax/(RM/Ri), i=1, . . . , M-1. This ensures that all packets are of equal duration, namely, Lmax/RM.

The AP may use these same principals when selecting a packet length for transmitting data to a STA.

The Contention Window Network Access Control Parameter

An alternative method which can be used to achieve similar performance as the fixed packet-duration approach (i.e., gives each user equal medium access time) is to keep the packet length fixed but vary the contention window (CW) size for each user, making it less likely for low rate users to win a channel contention than the high-rate users. To contend for a busy channel in an IEEE 802.11 WLAN, each STA generates a random integer between 0 and CW and stores the result in a back-off counter. The back-off counter is decremented whenever the channel remains idle for one time slot period (defined in the 802.11 standard), and transmits a packet when the counter hits zero. The interval (0,CW) is referred to as a contention window in 802.11. To apply the above procedure to the previous example, all users would be allowed to transmit 2 KB MSDUs, but the contention window for the low rate users, CWlow, may be set to 54 times larger than the high rate users, CWhigh, and thus the high-rate users would be 54 times more likely to transmit a packet than the low rate users. The parameter CW would be a MIB object stored locally for each STA.

Dynamic Adjustment of Network Access Control Parameters

With reference to FIGS. 4 and 5, a process 300 is shown whereby conditions of the WLAN are monitored and changes are automatically made to the network access control parameters of devices in the network. In step 310, the AP monitors network conditions. For example, by receiving data from various STAs in the network, the AP can determine the access time to the network for each STA, and determine the average throughput of the network.

As shown in FIG. 5, assume a shared medium is used to support users a and b, where a and b can access the medium at different data rates, Ra and Rb respectively. Typical throughput versus offered load for users operating at only data rates of Ra and Rb is shown as Ta and Tb, respectively. When both types of users access the system, and their packets are equal in size, a throughput of Tf is obtained; the slower data rate dominates the throughput curve when access from the a and b users is equally likely. The primary effect beyond the knee of the throughput curve is an exponential increase in delay for users trying to access the medium, wherein the network is said to be overloaded. One mechanism to reduce the access time, for at least some users, is to not allow the lower rate users to access the channel, which moves the throughput curve to Tb. A better approach that allows a and b users to still access the system and is sensitive to access delay is to vary the packet lengths for different data rate users as the combined offered load starts to generate exponentially increasing access times. Throughput curves of Ti, Tj, and Tk can be achieved as the packet length of the lower rate user is further reduced relative to those of the higher rate users.

Thus, the methodology involves (in step 330) varying the packet length for users in the network in response to detecting conditions in the network (in step 310) that indicate that the offered load begins to result in increasing access times. The network is initialized in the “normal” state, i.e., all users are free to use packets of up to 2 KB in length (the maximum packet length). In step 310, the AP measures throughput for users in the network, particularly faster data rate users. If the AP determines (in step 320) that these users are achieving poor throughput (based on programmable thresholds depending on the number of users in the network, data rates, etc.), the AP will engage one of the schemes described above and transmit messages to the users to adjust their packet lengths (or contention window size). The longer the time required on the network between two different uses, the greater the difference in packet lengths for those users. In the event the AP determines that conditions in the network change to a state that is acceptable for fixed packet length operation, the AP will accordingly send messages to the users to reset the packet length to the fixed maximum packet length for all users (or return to the normal contention window size).

Alternatively, in step 310, the AP may monitor the data rate of the users on the network. The AP may periodically, or on occasion, determine if the fastest user operating in the network has changed. As users go on and off the network, network conditions change. What was previously the fastest user data rate may change when that fast user goes off the network. Similarly, slower rate users will come and go on the network. In step 320, the AP determines that a change has occurred in the network that affects network throughput. For example, the AP determines whether the fastest user in the network has changed, or whether the ratio (fast to slow) of data rate users in the network has changed sufficiently to justify a change to the maximum packet length or contention window. Then in step 330, the AP executes a change to a network access control parameter, such as the maximum packet length or contention window size.

In step 330, the AP may compute a new maximum packet length (Li) for user (i) according to the mathematical relationship provided above, but using information for the current fastest data rate user on the network. This provides for more dynamic and flexible control of throughput.

FIG. 6 shows a process 400 for updating a network access control parameter (e.g., maximum packet size or contention window size) for devices operating on the network. An IEEE 802.11 network is an example wireless network, but it should be understood that a similar process may be used in any other wireless network. In the context of 802.11, a method for updating maximum MSDU size at each STA involves adjusting the maximum transmit packet size at the Data-Link Protocol Interface (DLPI) between the network layer (e.g., IP) and the Logical Link Control (LLC) layer. This can be performed manually by a network administrator by updating the maximum packet size at each STA (via a message sent by the AP), or automatically by the AP sending an over-the-air message directing each STA to update its maximum packet size. No change to the 802.11 standard rules is required.

In general, in step 410, when the network layer in a STA sends an MSDU (a packet to be sent) using a MA-UNITDATA.request primitive to the LLC Driver, the LLC driver compares the size of the MSDU with the internally stored maximum packet size. Unless configured to be smaller than the maximum size, normally, the LLC Driver will respond in step 420 with a MA-UNITDATA-STATUS.indication primitive that indicates the MSDU size is acceptable so long as it is less than the maximum packet size.

When network conditions justify, the AP, in step 430, may send a message to a STA indicating that it should use a smaller maximum packet size in order to limit the STA to the appropriate fixed-duration air time. In step 440, the STA stores the updated maximum packet size internally. Now, in step 450, when the network layer in the STA sends an MSDU using the MA-UNITDATA.request primitive, the STA compares the size of the MSDU with the internally stored maximum packet size. If the size of the MSDU is too large, then in step 460, the LLC Driver responds with an MA-UNITDATA-STATUS.indication primitive where the transmission status in the primitive indicates that the submitted MSDU is too large. The network layer will be responsible for adjusting its internal state to use a smaller MSDU size and resending the data as a set of smaller MSDUs. The network layer may start with the largest acceptable MSDU (2304 bytes as currently defined in the 802.11 standard) and work its way down until it finds an MSDU size that is acceptable to the STA. This concept is similar to the concept specified in RFC1191 dealing with Path MTU Discovery. The network layer will maintain a list of sizes to try until it manages to find one that can be transmitted without being rejected. Each network layer is allowed to use whatever values it deems necessary in its list, as long as each entry in the list is smaller than the maximum MSDU size specified by 802.11.

As the limitation imposed on the packet size may be temporary, the network layer will be responsible for periodically trying to send larger MSDUs to see if they will be accepted. The network layer will try the algorithm again to see if it can get a larger MSDU accepted (again, this is similar to the concepts specified in RFC1191). In order to allow larger MSDUs to be sent again, the STA will maintain a timer that is set when it receives the notification from the AP to lower its maximum packet size. Until the timer expires, the STA will reject MSDUs that are larger than its internally stored value (that was received from the AP). When the timer expires, the STA will change the maximum packet size back to the maximum value specified by the 802.11 standard as represented by steps 470 and 480. This will potentially allow maximally sized MSDUs to be transmitted again. If the AP again sends the message telling the STA to limit its maximum packet size, the STA will reset its timer and continue to restrict the size of MSDUs that it will accept from the network layer.

Another technique to change the effective maximum packet size used by a device, such as a STA, is to fragment a data unit into fragments that are less than or equal to the maximum packet size. The AP may inform a STA to change its effective maximum packet size in the same manner as described above in conjunction with FIG. 6. Using the maximum packet size, a STA will break up a message to be sent into fragments that satisfy the maximum packet size, and send those fragments on the network.

Referring again to FIG. 2, the techniques described herein would have beneficial effects on the access time versus percent utilization relationship of a network. Assigning slower users packet lengths or contention window parameters limits their access to the network, which has the effect of reducing utilization of the network, thereby maintaining lower access times to the network. In essence, practicing these techniques would push the curve shown in FIG. 2 outward to the right, which is desirable from a network administration standpoint.

While the foregoing description has been made with respect to the IEEE 802.11x standard, as an example, it should be understood that the present invention applies to any protocol standard governing the operation of a wireless network that has communication devices which operate at different data rates, and the communication devices share one or more frequency channels in the wireless network using carrier sense multiple access or other similar techniques. Furthermore, it should be understood that the terms “faster”, “slower”, “slow”, “high” and “higher” refer to the transmission rate of a device that, either by virtue of its design or its location in the network relative to an access point, can transmit up to a certain data rate.

To summarize, in a wireless communication network having a plurality of devices contending for access to the network, wherein the plurality of devices include devices that operate at different data rates when transmitting data on the network, a method is providing for assigning network access parameters to one or more of the devices so as to control throughput on the network. The network access parameter may be a packet length of a contention window size.

Similarly, a wireless communication system is provided comprising a plurality of wireless communication devices capable of accessing a wireless network using carrier sense multiple access procedures for transmission of data, the plurality of devices including devices that operate at different data rates when transmitting data on the network, each device accessing the network according to a network access control parameter to permit access to the network in a controlled manner.

Further, a processor readable memory medium is provided which is encoded with instructions that, when executed by a processor (such as a processor in an access point or in a network administration computer), cause the processor to perform steps of determining the data rate with which each of a plurality of wireless devices access a wireless network; and assigning a network access parameter for one or more of the wireless devices so as to control throughput on the wireless network.

Further still, a wireless communication device is provided, which operates in a wireless network that employs carrier sense multiple access procedures. The device comprises a radio transceiver that transmits and receives radio frequency signals via the wireless network; and a processor that supplies signals to be transmitted by the radio transceiver and processes signals that are received by the radio transceiver, wherein the processor generates packets of data for transmission via the radio transceiver according to a network access control parameter configured to control throughput on the wireless network.

The above description is intended by way of example only. 

1. A wireless device configured to access a wireless network according to a network access control parameter, the wireless device comprising a processor configured to process the parameter by including an assigned maximum data packet length for transmitting data according to a variable packet length control scheme, such that a greater data packet length is assigned for higher data rate devices and a smaller packet length is assigned for lower data rate devices.
 2. The wireless device as in claim 1, wherein the wireless device is further configured to receive an assigned maximum data packet length such that the device transmits data using data packets.
 3. The wireless device as in claim 1, wherein the assigned data packet length is equal to Lmax/(Rf/Ri), where Lmax is the maximum packet length for any device on the network, Rf is the rate of the fastest device and Ri is the rate of the device.
 4. The wireless device as in claim 1, wherein the wireless device is configured to receive an assigned contention window size as the network access control parameter.
 5. The wireless device as in claim 4, wherein the wireless device is configured to use the assigned contention window size to access the network.
 6. The wireless device as in claim 1, wherein the device is further configured to receive an assigned larger contention window on a condition that the device is a lower data rate device and an assigned smaller contention window on a condition that the device is a higher data rate device.
 7. A method for use in a wireless station (STA) contending to access a wireless network, the method comprising configuring a control processor to adjust a network access parameter and to access wireless network according the network access parameter, wherein the parameter includes an assigned maximum data packet length for transmitting data according to a variable packet length control scheme, such that a greater data packet length is assigned for higher data rate devices and a smaller packet length is assigned for lower data rate devices.
 8. The method as in claim 7, further comprising receiving an assigned maximum data packet length such that the wireless device transmits data using data packets.
 9. The method as in claim 7, wherein the assigned data packet length is equal to Lmax/(Rf/Ri), where Lmax is the maximum packet length for any device on the network, Rf is the rate of the fastest device and Ri is the rate of the device.
 10. The method as in claim 7, further comprising receiving an assigned contention window size as the network access control parameter.
 11. The method as in claim 7, further comprising using the assigned contention window size to access the network.
 12. The method as in claim 7, further comprising receiving an assigned larger contention window on a condition that the STA is a lower data rate device and an assigned smaller contention window on a condition that the STA is a higher data rate device. 